package com.by.common.bean;

public class ResultBean {

    /**
     * 接口处理状态
     * 200 ok  0 失败
     */
    int code;

    /**
     * 结果描述
     */
    String msg;

    /**
     * 接口返回的数据
     */
    Object result;

    public ResultBean() {
    }

    public ResultBean(int code, String msg, Object result) {
        this.code = code;
        this.msg = msg;
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
